package com.study.javaOther.chain.permission.condition;

import com.study.javaOther.chain.accoperation.IACCOperation;
import com.study.javaOther.chain.permission.IACCPermission;
import com.study.javaOther.chain.permission.rule.IRule;

import java.util.ArrayList;
import java.util.List;

public abstract class ICondition implements IACCPermission {
    protected String left;
    protected IACCOperation operation;
    protected List<ICondition> conditions = new ArrayList();
    protected List<IRule> rules = new ArrayList();

    protected ICondition(String left,IACCOperation operation){
        this.left=left;
        this.operation=operation;
    }
}
